home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Personal Computer World 2009 February
/
PCWFEB09.iso
/
Software
/
Full
/
Paragon Drive Backup 9
/
DB90_SE_x32.msi
/
Data1.cab
/
_73FF071670CC4D69BEF4A63F28E12D5D
< prev
next >
Wrap
Extensible Markup Language
|
2008-06-28
|
5KB
|
149 lines
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:msxsl="urn:schemas-microsoft-com:xslt"
version="1.0">
<xsl:output
method="html"
version="4.0"
encoding="UTF-8"
omit-xml-declaration="yes"
indent="yes"/>
<xsl:template match="/Root">
<html>
<center>
<table cellpadding="0" cellspacing="0" border="0" width="90%">
<xsl:variable name="PartStatus" select="PropertyBag/Property[@name='PARTITION_STATUS']"/>
<tr>
<td width="30%" valign="center" align="center">
<xsl:choose>
<xsl:when test="$PartStatus != 'VALID'">
<img src="error_large"/>
</xsl:when>
<xsl:otherwise>
<img src='<pss:image internal="PROPID_SMALLICON"/>'/>
</xsl:otherwise>
</xsl:choose>
</td>
<td colspan="4" valign="center" align="left">
<xsl:choose>
<xsl:when test="$PartStatus != 'VALID'">
<b>
<p/>
<xsl:value-of select="PropertyBag/Property[@name='PARTITION_ERROR_HEADER']"/>
</b>
<p/>
<xsl:value-of select="PropertyBag/Property[@name='PARTITION_ERROR_DESCRIPTION']"/>
</xsl:when>
<xsl:otherwise>
<b>
<xsl:value-of select="PropertyBag/Property[@name='PROPID_DISPLAYNAME']"/>,
<xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_VOLUMELABEL']"/>
</b>
</xsl:otherwise>
</xsl:choose>
</td>
</tr>
<tr>
<td colspan="5" valign="bottom"><hr/></td>
</tr>
<tr>
<td>
<nobr>QT_TRANSLATE_NOOP("QObject", "Type:")</nobr>
</td>
<td colspan="4">
<xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_TYPESTRING']"/>
</td>
</tr>
<tr>
<td>
<nobr>QT_TRANSLATE_NOOP("QObject", "File System:")</nobr>
</td>
<td colspan="4">
<xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_FSNAME']"/>
</td>
</tr>
<tr>
<td>
<nobr>QT_TRANSLATE_NOOP("QObject", "Capacity:")</nobr>
</td>
<td colspan="4">
<xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_SIZESTRING']"/>
</td>
</tr>
<tr>
<td>
<nobr>QT_TRANSLATE_NOOP("QObject", "Used space:")</nobr>
</td>
<td colspan="4">
<xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_DATASIZESTRING']"/>
</td>
</tr>
<tr>
<td>
<nobr>QT_TRANSLATE_NOOP("QObject", "Sectors per cluster:")</nobr>
</td>
<td colspan="4">
<xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_CLUSTERSIZE']"/>
</td>
</tr>
<tr>
<td colspan="5" valign="bottom"><hr/></td>
</tr>
<tr>
<td></td>
<TD align="right">QT_TRANSLATE_NOOP("QObject", "Sector No:")</TD>
<TD align="right">QT_TRANSLATE_NOOP("QObject", "Cyl:")</TD>
<TD align="right">QT_TRANSLATE_NOOP("QObject", "Hd:")</TD>
<TD align="right">QT_TRANSLATE_NOOP("QObject", "Sec:")</TD>
</tr>
<tr>
<TD align="left"><nobr>QT_TRANSLATE_NOOP("QObject", "First physical sector:")</nobr></TD>
<TD align="right"><nobr><xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_STARTINSECTORS_STRING']"/></nobr></TD>
<TD align="right"><nobr><xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_CHS_START_CYL']"/></nobr></TD>
<TD align="right"><nobr><xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_CHS_START_HEAD']"/></nobr></TD>
<TD align="right"><nobr><xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_CHS_START_SEC']"/></nobr></TD>
</tr>
<tr>
<TD align="left"><nobr>QT_TRANSLATE_NOOP("QObject", "Last physical sector:")</nobr></TD>
<TD align="right"><nobr><xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_ENDINSECTORS_STRING']"/></nobr></TD>
<TD align="right"><nobr><xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_CHS_END_CYL']"/></nobr></TD>
<TD align="right"><nobr><xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_CHS_END_HEAD']"/></nobr></TD>
<TD align="right"><nobr><xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_CHS_END_SEC']"/></nobr></TD>
</tr>
<tr>
<td colspan="5" valign="bottom"><hr/></td>
</tr>
<TR>
<TD><nobr>QT_TRANSLATE_NOOP("QObject", "Hard disk geometry:")</nobr></TD>
<TD></TD>
<TD align="right"><nobr><xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_CYLINDERS']"/></nobr></TD>
<TD align="right"><nobr><xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_HEADS']"/></nobr></TD>
<TD align="right"><nobr><xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_SECTORSPERTRACK']"/></nobr></TD>
</TR>
</table>
</center>
</html>
</xsl:template>
</xsl:stylesheet>